<template>
	<view style="height: 100vh; background-color: #FFFFFF;">
		<u-navbar title-color="#FFFFFF" height="48" back-icon-color="#FFFFFF" :border-bottom="false" :is-fixed="true" :title="'设置中心'"></u-navbar>
		<view class="u-m-t-20">
			<u-cell-group>
				<u-cell-item  title="缓存" value="0.1M" :arrow="false"></u-cell-item>
			</u-cell-group>
		</view>
		
		<view class="u-m-t-20">
			<u-cell-group>
				<u-cell-item  title="版本号" :value="version" :arrow="false"></u-cell-item>
			</u-cell-group>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				version:'1.0.0'
			}
		},
		onShow() {
			this.getVersion()
		},
		methods: {
			getVersion(){
				window.native.getVersion(res=>{
					console.log(res)
					this.version = res.data.data
				})
			}
		}
	}
</script>

<style>

</style>
